home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / misc / gms_dev.lha / GMSDev / Includes / clib / colours_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-15  |  1.3 KB  |  42 lines

  1. #ifndef  CLIB_COLOURS_PROTOS_H
  2. #define  CLIB_COLOURS_PROTOS_H
  3.  
  4. /*
  5. **   $VER: colours_protos.h V1.0
  6. **
  7. **   C prototypes.
  8. **
  9. **   (C) Copyright 1998 DreamWorld Productions.
  10. **       All Rights Reserved.
  11. */
  12.  
  13. #ifndef _INCLUDE_PRAGMA_COLOURS_LIB_H
  14. #include <pragmas/colours_pragmas.h>
  15. #endif
  16.  
  17. /*
  18. #ifndef MODULES_COLOURBASE_H
  19. #include <modules/colourbase.h>
  20. #endif
  21. */
  22.  
  23. #ifndef _USE_DPKBASE
  24.  
  25. void BlurArea(struct Bitmap *Bitmap, WORD StartX, WORD StartY, WORD EndX, WORD EndY, WORD Setting);
  26. LONG CalcBrightness(LONG RGB);
  27. LONG ClosestColour(LONG RGB, struct RGBPalette *Palette);
  28. LONG ConvertHSVToRGB(struct HSV *);
  29. void ConvertRGBToHSV(LONG RGB, struct HSV *);
  30. LONG CopyPalette(LONG argSrcPalette, LONG argDestPalette, LONG ColStart, LONG AmtColours, LONG DestCol);
  31. void DarkenArea(struct Bitmap *Bitmap, WORD StartX, WORD StartY, WORD EndX, WORD EndY, WORD Percent);
  32. void DarkenPixel(struct Bitmap *, WORD XCoord, WORD YCoord, WORD Percent);
  33. void LightenArea(struct Bitmap *Bitmap, WORD StartX, WORD StartY, WORD EndX, WORD EndY, WORD Percent);
  34. void LightenPixel(struct Bitmap *, WORD XCoord, WORD YCoord, WORD Percent);
  35. LONG RemapBitmap(LONG Source, LONG Dest, WORD Performance);
  36.  
  37. #else /*** Definitions for inline library calls ***/
  38.  
  39. #endif /* _USE_DPKBASE */
  40.  
  41. #endif /* CLIB_BLITTER_PROTOS_H */
  42.